package org.hq.video.service;

/**
 * 数据库用户数据
 */
public class DbcUser {
    private Integer id;
    private String userName;
    private String password;
    // 角色权限分组
    private String granted;
    //用户登录凭证
    private String token;

    public DbcUser() {
    }

    public DbcUser(Integer id, String userName, String password, String granted, String token) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.granted = granted;
        this.token = token;
    }

    public String getGranted() {
        return granted;
    }

    public void setGranted(String granted) {
        this.granted = granted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
